package com.dgshanger.sanhxiaofeisc.ui.person.feedback

import android.content.Intent
import com.dgshanger.sanhxiaofeisc.MainActivity
import com.dgshanger.sanhxiaofeisc.R
import com.dgshanger.sanhxiaofeisc.common.Constants
import com.xx.baseuilibrary.mvp.BaseMvpViewActivity
import kotlinx.android.synthetic.main.activity_feedback_success.*


/**
 * FeedbackSuccessActivity
 * 沉迷学习不能自拔
 * Describe：反馈成功页面
 * Created by 雷小星🍀 on 2018/4/16 14:27.
 */
class FeedbackSuccessActivity : BaseMvpViewActivity() {

    override fun getActivityLayoutId(): Int = R.layout.activity_feedback_success

    override fun initData() {
    }

    override fun initEvent() {
        btn_back_center.setOnClickListener {
            val intent = Intent(mContext, MainActivity::class.java)
            intent.putExtra(Constants.KEY_INTENT_MAIN, MainActivity.INDEX_PERSON)
            startActivity(intent)
            finish()
        }
    }
}